package org.com.coolfish.common.database.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "kuyu_agent_commission")
@Entity
public class kuyuAgentCommission extends IdEntity implements Serializable {
    private static final long serialVersionUID = 1L;

   
    private Integer uid;
    private Integer aid;
    private BigDecimal money;
    private BigDecimal oldmoney;
    private Date addtime;
    private Integer order_id;
    private Integer cardid;
    private Integer remarks;
	public kuyuAgentCommission() {
		super();
	}
	public kuyuAgentCommission(BigDecimal money) {
		super();
		this.money = money;
	}
	
	public kuyuAgentCommission(Integer id, BigDecimal money) {
		super();
		this.id = id;
		this.money = money;
	}
	
	public kuyuAgentCommission(Integer id, Integer uid, Integer aid, BigDecimal money, BigDecimal oldmoney,
			Date addtime, Integer order_id, Integer cardid, Integer remarks) {
		super();
		this.id = id;
		this.uid = uid;
		this.aid = aid;
		this.money = money;
		this.oldmoney = oldmoney;
		this.addtime = addtime;
		this.order_id = order_id;
		this.cardid = cardid;
		this.remarks = remarks;
	}
	
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getAid() {
		return aid;
	}
	public void setAid(Integer aid) {
		this.aid = aid;
	}
	public BigDecimal getMoney() {
		return money;
	}
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	public BigDecimal getOldmoney() {
		return oldmoney;
	}
	public void setOldmoney(BigDecimal oldmoney) {
		this.oldmoney = oldmoney;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getCardid() {
		return cardid;
	}
	public void setCardid(Integer cardid) {
		this.cardid = cardid;
	}
	public Integer getRemarks() {
		return remarks;
	}
	public void setRemarks(Integer remarks) {
		this.remarks = remarks;
	}
	
    
    
}
